package com.googlecode.yoohoo.xmppcore.protocol.parsing.error;

import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;

import com.googlecode.yoohoo.xmppcore.protocol.parsing.IXmppParsingFactory;
import com.googlecode.yoohoo.xmppcore.protocol.stanza.Stanza;
import com.googlecode.yoohoo.xmppcore.protocol.stanza.error.StanzaError;

public interface IStanzaErrorParser {
	public StanzaError parse(IXmppParsingFactory parsingFactory, XMLStreamReader reader,
			String xml, Stanza stanza) throws XMLStreamException;
}
